//
//  YZSportTrackingLine.h
//  runrun
//
//  Created by yongzhen on 16/10/22.
//  Copyright © 2016年 yongzhen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YZSportPloyline.h"
#import <MAMapKit/MAMapKit.h>
// 轨迹追踪线条模型
@interface YZSportTrackingLine : NSObject

//-(instancetype)initWithStartLocation:(CLLocation *)startLocation endLocation:(CLLocation *)endLocation;
-(instancetype)initWithStartLocation:(CLLocation *)startLocation endLocation:(CLLocation *)endLocation;

@property (nonatomic,strong,readonly)CLLocation * startLocation;
@property (nonatomic,strong,readonly)CLLocation * endLocation;

@property (nonatomic,readonly)YZSportPloyline * polyline;
@property (nonatomic,readonly)double  speed;
@property (nonatomic,readonly)NSTimeInterval  time;
@property (nonatomic,readonly)double distance;


@end
